package com.ruoyi.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Blob;
import java.io.Serializable;

/**
 * <p>
 * 触发器详细信息表
 * </p>
 *
 * @author lh
 * @since 2025-01-16
 */
public class Qrtz_triggers implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 调度名称
     */
    @TableId(value = "sched_name", type = IdType.AUTO)
    private String sched_name;

    /**
     * 触发器的名字
     */
    private String trigger_name;

    /**
     * 触发器所属组的名字
     */
    private String trigger_group;

    /**
     * qrtz_job_details表job_name的外键
     */
    private String job_name;

    /**
     * qrtz_job_details表job_group的外键
     */
    private String job_group;

    /**
     * 相关介绍
     */
    private String description;

    /**
     * 上一次触发时间（毫秒）
     */
    private Long next_fire_time;

    /**
     * 下一次触发时间（默认为-1表示不触发）
     */
    private Long prev_fire_time;

    /**
     * 优先级
     */
    private Integer priority;

    /**
     * 触发器状态
     */
    private String trigger_state;

    /**
     * 触发器的类型
     */
    private String trigger_type;

    /**
     * 开始时间
     */
    private Long start_time;

    /**
     * 结束时间
     */
    private Long end_time;

    /**
     * 日程表名称
     */
    private String calendar_name;

    /**
     * 补偿执行的策略
     */
    private Integer misfire_instr;

    /**
     * 存放持久化job对象
     */
    private Blob job_data;


    public String getSched_name() {
        return sched_name;
    }

    public void setSched_name(String sched_name) {
        this.sched_name = sched_name;
    }

    public String getTrigger_name() {
        return trigger_name;
    }

    public void setTrigger_name(String trigger_name) {
        this.trigger_name = trigger_name;
    }

    public String getTrigger_group() {
        return trigger_group;
    }

    public void setTrigger_group(String trigger_group) {
        this.trigger_group = trigger_group;
    }

    public String getJob_name() {
        return job_name;
    }

    public void setJob_name(String job_name) {
        this.job_name = job_name;
    }

    public String getJob_group() {
        return job_group;
    }

    public void setJob_group(String job_group) {
        this.job_group = job_group;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getNext_fire_time() {
        return next_fire_time;
    }

    public void setNext_fire_time(Long next_fire_time) {
        this.next_fire_time = next_fire_time;
    }

    public Long getPrev_fire_time() {
        return prev_fire_time;
    }

    public void setPrev_fire_time(Long prev_fire_time) {
        this.prev_fire_time = prev_fire_time;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getTrigger_state() {
        return trigger_state;
    }

    public void setTrigger_state(String trigger_state) {
        this.trigger_state = trigger_state;
    }

    public String getTrigger_type() {
        return trigger_type;
    }

    public void setTrigger_type(String trigger_type) {
        this.trigger_type = trigger_type;
    }

    public Long getStart_time() {
        return start_time;
    }

    public void setStart_time(Long start_time) {
        this.start_time = start_time;
    }

    public Long getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Long end_time) {
        this.end_time = end_time;
    }

    public String getCalendar_name() {
        return calendar_name;
    }

    public void setCalendar_name(String calendar_name) {
        this.calendar_name = calendar_name;
    }

    public Integer getMisfire_instr() {
        return misfire_instr;
    }

    public void setMisfire_instr(Integer misfire_instr) {
        this.misfire_instr = misfire_instr;
    }

    public Blob getJob_data() {
        return job_data;
    }

    public void setJob_data(Blob job_data) {
        this.job_data = job_data;
    }

    @Override
    public String toString() {
        return "Qrtz_triggers{" +
        "sched_name=" + sched_name +
        ", trigger_name=" + trigger_name +
        ", trigger_group=" + trigger_group +
        ", job_name=" + job_name +
        ", job_group=" + job_group +
        ", description=" + description +
        ", next_fire_time=" + next_fire_time +
        ", prev_fire_time=" + prev_fire_time +
        ", priority=" + priority +
        ", trigger_state=" + trigger_state +
        ", trigger_type=" + trigger_type +
        ", start_time=" + start_time +
        ", end_time=" + end_time +
        ", calendar_name=" + calendar_name +
        ", misfire_instr=" + misfire_instr +
        ", job_data=" + job_data +
        "}";
    }
}
